home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HPAVC
/
HPAVC CD-ROM.iso
/
ABUSESRC.ZIP
/
AbuseSrc
/
macabuse
/
inc
/
human.hpp
< prev
next >
Wrap
C/C++ Source or Header
|
1997-05-20
|
547b
|
24 lines
#ifndef __HUMAN_HPP_
#define __HUMAN_HPP_
#include "objects.hpp"
#include "ability.hpp"
class human : public game_object
{
public :
human(long X, long Y) { defaults(); x=X; y=Y; }
human(FILE *fp, unsigned char *state_remap) { load(fp,state_remap); }
virtual int size() { return game_object::size(); }
virtual game_objects type() { return O_human; }
virtual void do_damage(int amount, game_object *from);
virtual int move(int cx, int cy, int button); // return false if the route is blocked
} ;
#endif